package com.gxa.pingan.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;

/**
 * 保险管理表的实体类
 * @author lijianmin
 * @date 2021/10/25  11:40:10
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Api("这是保险管理的实体类")
public class InsuranceManager implements Serializable {
    /**
     * 编号
     */
    @ApiModelProperty(name = "id",value = "id",notes = "编号",dataType = "Long")
    private Long id;
    /**
     * 用户姓名
     */
    @ApiModelProperty(name = "name",value = "name",notes = "用户姓名",dataType = "String")
    private String name;
    /**
     * 手机号
     */
    @ApiModelProperty(name = "phone",value = "phone",notes = "手机号",dataType = "String")
    private String phone;
    /**
     * 交强险起始时间
     */
    @ApiModelProperty(name = "cLIVTAStartTime",value = "cLIVTAStartTime",notes = "交强险起始时间",dataType = "Timestamp")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Timestamp cLIVTAStartTime;
    /**
     * 交强险终止时间
     */
    @ApiModelProperty(name = "cLIVTAEndTime",value = "cLIVTAEndTime",notes = "交强险终止时间",dataType = "Timestamp")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Timestamp cLIVTAEndTime;
    /**
     * 商业险起始时间
     */
    @ApiModelProperty(name = "cLStartTime",value = "cLStartTime",notes = "商业险起始时间",dataType = "Timestamp")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Timestamp cLStartTime;
    /**
     * 商业险终止时间
     */
    @ApiModelProperty(name = "cLEndTime",value = "cLEndTime",notes = "商业险终止时间",dataType = "Timestamp")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Timestamp cLEndTime;

    /**
     * 车牌号
     */
    @ApiModelProperty(name = "carNum",value = "carNum",notes = "车牌号",dataType = "String")
    private String carNum;
    /**
     * 保险公司名称
     */
    @ApiModelProperty(name = "comName",value = "comName",notes = "保险公司名称",dataType = "String")
    private String comName;
    /**
     * 交强保单号
     */
    @ApiModelProperty(name = "cLIVTANum",value = "cLIVTANum",notes = "交强保单号",dataType = "String")
    private String cLIVTANum;
    /**
     * 商业保单号
     */
    @ApiModelProperty(name = "cLNum",value = "cLNum",notes = "商业保单号",dataType = "String")
    private String cLNum;

    /**
     * 保险公司电话
     */
    @ApiModelProperty(name = "comPhone",value = "comPhone",notes = "保险公司电话",dataType = "String")
    private String comPhone;

    /**
     * 用户的身份证号码
     */
    @ApiModelProperty(name = "idCard",value = "idCard",notes = "idCard",dataType = "String")
    private String idCard;



    private List<UserInsKind> list;


}
